<?php

class Tag {

	//String name
	//protected $belongs_to = array('product');

	static $properties = array(
		'name' => 'string',
		'author' => 'string',
		'active' => 'bool'
	);

	static $constraints = array(
		'name' => array('length' => 20, 'nullable' => false, 'blank' => false)
	);

}

?>